﻿using System.Xml;

namespace codeparser.net.v2.Contracts
{
    /// <summary>
    /// Contains the methods that each type needs to implement that is able to save itself to an
    /// XML writer.
    /// </summary>
    internal interface IXmlWriter
    {
        /// <summary>
        /// Saves the tag configuration to the specified XML writer.
        /// </summary>
        /// <param name="writer">The XML writer.</param>
        void Save(XmlWriter writer);
    }
}
